package org.asiainfo.system.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import org.asiainfo.common.tenant.core.TenantEntity;

/**
 * 部门信息表(SysDept)实体类
 *
 * @author dotor-ww
 * @since 2024-01-20 22:05:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("sys_dept")
public class SysDept extends TenantEntity {
    /**
     * 部门ID
     */
    @Id
    @Column(value = "dept_id")
    private Long deptId;
    /**
     * 父部门ID
     */
    @Column(value = "parent_id")
    private Long parentId;
    /**
     * 祖级ID
     */
    @Column(value = "ancestors")
    private String ancestors;
    /**
     * 部门名称
     */
    @Column(value = "dept_name")
    private String deptName;
    /**
     * 负责人
     */
    @Column(value = "leader")
    private String leader;
    /**
     * 电话
     */
    @Column(value = "phone_number")
    private String phoneNumber;
    /**
     * 邮箱
     */
    @Column(value = "email")
    private String email;
    /**
     * 部门状态（0正常 1停用）
     */
    @Column(value = "dept_status")
    private String deptStatus;
    /**
     * 删除标志（0存在 2删除）
     */
    @Column(value = "del_flag")
    private String delFlag;
}

